#pragma once


extern "C"
{
	class __declspec(dllexport) HIM
	{
	public:
		HIM();
		~HIM();
		//File in and output
		void Load( char* a_FilePath );
		void Save( char* a_FilePath );

		struct QuadEntry
		{
			float m_MinZ;
			float m_MaxZ;
		};

		float GetHeight( int a_X, int a_Y );

		int m_Width;
		int m_Height;
		int m_GridCount;
		float m_GridSize;

		float m_HeightMap[65][65];

		int m_QuadEntryCount;

		QuadEntry* m_QuadEntries;

		int m_QuadTreeCount;
	};
}


